/* ================================================
   GAB24 Profile Form - Mobile Native App Style
   ================================================ */

/* Container & Base Styles */
.srf-form {
    min-height: 100vh;
    padding: 4rem 0rem 6rem;
    margin: -2rem 0rem;
    color: #ffffff;
}

.srf-form * {
    box-sizing: border-box;
}

/* Header Section */
.srf-header {
    margin: 0 auto 2rem;
    padding-top: 2rem;
}

.srf-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.srf-header-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
 background: var(--bs-white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.25rem;
}

.srf-header-subtitle {
    color: #b1b1b1;
    font-size: 0.875rem;
    margin: 0;
}

.srf-header-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #eddcff, #ffffff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}
.srf-header-icon img{width: 20px; height: 20px;}

/* Progress Bar */
.srf-progress {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.srf-progress-step {
    height: 0.375rem;
    flex: 1;
    border-radius: 9999px;
    background: #334155;
    transition: all 0.5s ease;
}

.srf-progress-step.active {
    background: var(--bs-primary);
}

/* Section Container */
.srf-section {
    margin: 0 auto 1.5rem;
    opacity: 0;
    transform: translateY(1rem);
    animation: fadeInUp 0.5s ease forwards;
}
.srf-phone-display {
    width: 100%;
    margin-top: -60px;
    z-index: 1;
}
.srf-phone-display button#srf-edit-phone-btn {
    float: right;
    margin-bottom: 15px;
}
.srf-section.top-section{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.srf-section.visible {
    animation-delay: 0.1s;
}


/* Section Header */
.srf-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.srf-section-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.srf-section-icon.phone { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.srf-section-icon.book { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.srf-section-icon.options { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.srf-section-icon.language { background: rgba(249, 115, 22, 0.2); color: #fb923c; }

.srf-section-title h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.125rem;
}

.srf-section-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0;
}

/* Phone Number Section */
.phone-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.srf-phone-saved {
    background: rgba(51, 65, 85, 0.5);
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.srf-phone-saved-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.srf-phone-check {
    color: #4ade80;
    font-size: 1.25rem;
}

.srf-phone-number {
    font-weight: 500;
    color: #ffffff;
}

#srf-edit-phone-btn {

    cursor: pointer;
   font-size: 14px;
    transition: color 0.2s;
}

#srf-edit-phone-btn:hover {
    
}

.srf-phone-input input[type="tel"],
#srf-phone-edit-wrap input[type="tel"] {
    width: 100%;
    background: rgba(51, 65, 85, 0.5);
    border: 1px solid var(--bs-gray-300);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.2s;
}

.srf-phone-input input[type="tel"]:focus,
#srf-phone-edit-wrap input[type="tel"]:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.srf-phone-input input[type="tel"]::placeholder {
    color: #64748b;
}

.form-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #94a3b8;
}

#srf-phone-edit-wrap {
    margin-top: 1rem;
}

.srf-phone-continue {
    width: 100%;
    background: linear-gradient(to right, #a855f7, #ec4899);
    border: none;
    border-radius: 0.75rem;
    padding: 0.75rem;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0.75rem;
    transition: all 0.2s;
}

.srf-phone-continue:hover {
    background: linear-gradient(to right, #9333ea, #db2777);
    transform: translateY(-1px);
}

.srf-phone-continue:active {
    transform: scale(0.98);
}

.srf-phone-continue:disabled {
    background: #475569;
    cursor: not-allowed;
    transform: none;
}

/* Cards Grid */
.srf-educational-list,
.srf-suboptions-list,
.srf-languages-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    margin: 0 !important;
}

.srf-educational-list > div, .srf-suboptions-list > div, .srf-languages-list > div {
    padding: 0;
        width: 100%;
}

/* Card Styles */
.srf-card {
    position: relative;
    border-radius: 0.75rem;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s;
    display: block;
    text-align: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.srf-card:hover {
    border-color: #64748b;
    transform: translateY(-2px);
}

.srf-card:active {
    transform: scale(0.98);
}

.srf-card.selected .srf-image-wrap {
   
    
}

.srf-card.selected .srf-image-wrap:before {
    content: "";
    background: linear-gradient(328deg, rgba(255, 255, 255, 1) 0%, #8663ed 51%, #673de6 100%);
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: none;
    opacity: 0.8;
}


/* Card Content */
.srf-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
border-radius: 10px;
position: relative;
}

.srf-image-wrap img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.srf-placeholder {
    width: 100%;
    height: 5rem;
    background: linear-gradient(135deg, #475569, #334155);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto;
        background: linear-gradient(328deg, rgba(255, 255, 255, 1) 0%, rgba(64, 143, 193, 1) 51%, rgba(31, 46, 112, 1) 100%);
}

.srf-emoji {
    font-size: 2rem;
    line-height: 1;
}

.srf-label {
    line-height: 18px;
    color: var(--bs-white);
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

/* Checkmark Badge */
.srf-card-check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s;
    z-index: 2;
}
.icon-check::before {
    content: "✓";
}

.srf-suboptions-list.cbse-suboptions .srf-card {
    border: none;
    padding: 4rem 1rem;
    background: var(--bs-dark);
    background: linear-gradient(328deg, rgba(255, 255, 255, 1) 0%, rgba(64, 143, 193, 1) 51%, rgba(31, 46, 112, 1) 100%);
}

.srf-suboptions-list.upsc-suboptions .srf-card {
    border: none;
    padding: 3.5rem 1rem;
    background: var(--bs-dark);
background: linear-gradient(323deg,rgba(255, 255, 255, 1) 0%, rgba(212, 152, 80, 1) 33%, rgba(117, 35, 56, 1) 82%);
}

.srf-languages-list .srf-card{
    border: none;
   /* background: linear-gradient(323deg, rgba(255, 255, 255, 1) 0%, rgba(119, 87, 199, 1) 50%, rgba(166, 81, 112, 1) 100%); */
} 

.srf-suboptions-list .srf-card.selected .srf-image-wrap, .srf-languages-list .srf-card.selected .srf-image-wrap{}

.srf-card.selected .srf-card-check {
    opacity: 1;
    transform: scale(1);
    background: var(--bs-white);
    color: var(--bs-dark);
    font-weight: 600;
}


/* Hide default radio */
.srf-card input[type="radio"] {
    display: none;
}

/* Submit Button Fixed */
.srf-submit-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: var(--bs-body-bg);
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.srf-submit-fixed.visible {
    transform: translateY(0);
}

.srf-submit-fixed .btn-primary {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    display: block;
    border: none;
    border-radius: 1rem;
    padding: 1rem;
    color: var(--bs-dark);
    background-color: var(--bs-white);
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s;
}

.srf-submit-fixed .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

.srf-submit-fixed .btn-primary:active {
    transform: scale(0.98);
}

.srf-submit-fixed .btn-primary.success {
    background: #22c55e;
}

.srf-submit-fixed .btn-primary .check-icon {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

/* Hide Section Initially */
#srf-suboptions-wrap {
    display: none;
}

#srf-suboptions-wrap.visible {
    display: block;
}

.profile-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -1px;
    padding: 15px;
    background: var(--bs-body-bg);
    width: 100%;
    border: 0;
    outline: none;
    text-align: center;
}
.profile-footer button {
    width: 100%;
}


/* Responsive */

@media (min-width: 1366px) {
.srf-educational-list,
.srf-suboptions-list,
.srf-languages-list {
    grid-template-columns: repeat(10, 1fr);
}
}

@media (max-width: 1365px) {
.srf-educational-list,
.srf-suboptions-list,
.srf-languages-list {
    grid-template-columns: repeat(8, 1fr);
}
}

@media (max-width: 991px) {
.srf-educational-list,
.srf-suboptions-list,
.srf-languages-list {
    grid-template-columns: repeat(6, 1fr);
}
}

@media (max-width: 767px) {
    .srf-educational-list,
    .srf-suboptions-list,
    .srf-languages-list {
        grid-template-columns: repeat(5, 1fr);
    }
}


@media (min-width: 450px) {
    .profile-footer button {
    max-width: 350px;
}
}

/* Alert Messages */
.alert-warning {
    background: rgba(251, 146, 60, 0.2);
    border: 1px solid rgba(251, 146, 60, 0.5);
    color: #fb923c;
    padding: 1rem;
    border-radius: 0.75rem;
    margin: 1rem 0;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}







 