/*
 Theme Name:   DeveloSquad Theme
 Theme URI:    https://develosquad.com
 Description:  This is a child theme Developed by DeveloSquad team!
 Author:       Vidyut Pal
 Author URI:   https://vidyutpal.com
 Template:     generatepress
 Version:      0.1
*/


:root {
	--shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(218, 19, 21, 0.1);
}

/* Fluid Typography Scale */

h1, .fs-h1 {
	font-size: clamp(3rem, 2.7273rem + 1.0909vw, 3.6rem);
}

h2, .fs-h2 {
	font-size: clamp(2.25rem, 2.0455rem + 0.8182vw, 2.7rem);
}

h3, .fs-h3 {
	font-size: clamp(1.875rem, 1.7045rem + 0.6818vw, 2.25rem);
}

h4, .fs-h4 {
	font-size: clamp(1.5rem, 1.3636rem + 0.5455vw, 1.8rem);
}

h5, .fs-h5 {
	font-size: clamp(1.25rem, 1.1364rem + 0.4545vw, 1.5rem);
}

h6, .fs-h6 {
	font-size: clamp(1.125rem, 1.0227rem + 0.4091vw, 1.35rem);
}

p, .fs-p {
	font-size: 1rem;
}



/* Accessiable Card Link */
.stretch-link {
    position: relative;
}

.stretch-link a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.stretch-link a:is(:focus-visible)::after {
    outline: 2px solid;
}

.stretch-link a:is(:hover, :focus) {
    outline: none;
}







/* --- Labels --- */
.brand-form label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700!important;
  color: #334155;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Optional: Asterisk for required fields */
.brand-form .required {
  color: #EF4444;
  margin-left: 3px;
}

/* --- Base Input Styles --- */
.brand-form input[type="text"],
.brand-form input[type="email"],
.brand-form input[type="tel"],
.brand-form input[type="number"],
.brand-form input[type="url"],
.brand-form input[type="password"],
.brand-form input[type="date"],
.brand-form select,
.brand-form textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: #F8FAFC!important; /* Slight gray background */
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: #1E293B!important;
  box-sizing: border-box;
  -webkit-appearance: none; /* Removes iOS default styling */
  appearance: none;
  transition: all 0.2s ease-in-out;
  box-shadow: none; /* Reset WP plugin shadows */
}

/* Placeholder Text */
.brand-form input::placeholder,
.brand-form textarea::placeholder {
  color: #94A3B8;
  opacity: 1; /* Firefox reset */
  font-weight: 400;
  font-size: 0.86rem!important;
}

/* --- Focus States (The Glow) --- */
.brand-form input[type="text"]:focus,
.brand-form input[type="email"]:focus,
.brand-form input[type="tel"]:focus,
.brand-form input[type="number"]:focus,
.brand-form input[type="date"]:focus,
.brand-form select:focus,
.brand-form textarea:focus {
  background-color: #FFFFFF!important;
  border-color: var(--clr-primary)!important;
  outline: none;
  /* Brand colored soft glow ring */
  box-shadow: 0 0 0 3px rgba(218, 19, 21, 0.15) !important; 
}

/* Hover State */
.brand-form input:hover:not(:focus),
.brand-form select:hover:not(:focus),
.brand-form textarea:hover:not(:focus) {
  border-color: #94A3B8;
}

/* --- Textarea Specifics --- */
.brand-form textarea {
  resize: vertical; /* Only allow vertical resizing */
  min-height: 120px;
  line-height: 1.5;
}

/* --- Custom Select Dropdown --- */
.brand-form select {
  cursor: pointer;
  padding-right: 40px; /* Make room for the arrow */
  /* Custom SVG Arrow Background */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%24%2024%22%20fill%3D%22none%22%20stroke%3D%22%2364748B%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 18px;
}

/* --- Checkboxes & Radio Buttons --- */
.brand-form input[type="checkbox"],
.brand-form input[type="radio"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: 18px;
  height: 18px;
  accent-color: var(--clr-primary); /* Modern native styling */
  cursor: pointer;
  margin-right: 8px;
  position: relative;
  top: 3px; /* Aligns perfectly with text */
}


/* --- Submit Button --- */
.brand-form input[type="submit"],
.brand-form button[type="submit"] {
  width: 100%;
  background-color: var(--clr-primary)!important;
  color: #FFFFFF;
  border: none;
  padding: 8px 17px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  margin-top: 10px;
  -webkit-appearance: none;
}

.brand-form input[type="submit"]:hover,
.brand-form button[type="submit"]:hover {
  background-color: var(--clr-primary-dark);
}

.brand-form input[type="submit"]:active,
.brand-form button[type="submit"]:active {
  transform: scale(0.98); /* Satisfying click effect */
}

.flatpickr-day.selected {
	background: var(--clr-primary)!important;
	border: 0!important;
}


