/* Account Type Selection Popup Styles */
.account-type-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: none;
    overflow-y: auto;
}

.account-type-overlay.active {
    display: block;
}

/* Popup */
.account-type-popup {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px;
    gap: 24px;
    isolation: isolate;
    
    position: absolute;
    width: 460px;
    min-height: 312px;
    max-height: max-content;
    left: calc(50% - 460px/2);
    top: 50px;
    margin-bottom: 50px;
    
    /* White/White-Main */
    background: #FFFFFF;
    box-shadow: 0px 16px 30px -10px rgba(26, 34, 56, 0.2);
    border-radius: 20px;
}

/* Heading */
.account-type-heading {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    
    width: 388px;
    height: 60px;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    z-index: 0;
}

/* Account type title */
.account-type-title {
    width: 388px;
    height: 30px;
    
    /* Desktop/H4 */
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    /* identical to box height, or 150% */
    
    /* Main/Black Sea */
    color: #1A2238;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    margin: 0;
}

/* Description */
.account-type-description {
    width: 388px;
    height: 22px;
    
    /* Desktop/Regular-16px */
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    /* identical to box height, or 138% */
    
    /* Grey/Grey-text */
    color: #9197A6;
    
    /* Inside auto layout */
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    margin: 0;
}

/* Close Button - Frame 37148 */
.account-type-close {
    box-sizing: border-box;
    
    position: absolute;
    width: 20px;
    height: 20px;
    right: 14px;
    top: 14px;
    
    /* Grey/Grey-borders */
    border: 0.5px solid #D9D9D9;
    border-radius: 80px;
    
    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;
    z-index: 1;
    
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0;
}

.account-type-close::before,
.account-type-close::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 1.5px;
    background: #1A2238;
    left: calc(50% - 5px);
    top: calc(50% - 0.75px);
}

.account-type-close::before {
    transform: rotate(45deg);
}

.account-type-close::after {
    transform: rotate(-45deg);
}

.account-type-close:hover {
    background: #F5F5F5;
}

/* Options Container - Bttns */
.account-type-options {
    /* Auto layout */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
    
    width: 388px;
    height: 92px;
    
    /* Inside auto layout */
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
    z-index: 2;
}

/* Option - Job Seeker */
.account-type-option {
    display: block;
    cursor: pointer;
}

/* Option Content - Buttons - outline+icon */
.account-type-option-content {
    box-sizing: border-box;
    
    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    gap: 8px;
    
    width: 388px;
    height: 40px;
    
    /* Orange/Orange-Main */
    border: 1px solid #FF6A3D;
    border-radius: 4px;
    
    /* Inside auto layout */
    flex: none;
    align-self: stretch;
    flex-grow: 0;
}

/* Icon container */
.account-type-option-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Label container */
.account-type-option-label {
    /* text container */
    /* Auto layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px 4px;
    
    height: 24px;
    
    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;
    
    /* Label */
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    /* identical to box height, or 150% */
    
    /* Main/Black Sea */
    color: #1A2238;
}

/* Hide radio button */
.account-type-radio {
    display: none;
}

/* Selected state */
.account-type-radio:checked + .account-type-option-content {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    gap: 8px;
    
    width: 388px;
    height: 40px;
    
    /* Dark/Dark-Main */
    background: #1A2238;
    border-radius: 4px;
    border: none;
}

.account-type-radio:checked + .account-type-option-content .account-type-option-icon {
    /* White/White-Main */
    color: #FFFFFF;
}

.account-type-radio:checked + .account-type-option-content .account-type-option-label {
    /* White/White-Main */
    color: #FFFFFF;
}

/* Error message */
.account-type-error {
    color: #EF4444;
    font-family: 'Rubik';
    font-size: 12px;
    line-height: 18px;
    margin-top: 4px;
    display: none;
}

.account-type-error.show {
    display: block;
}

/* Enter Button - Buttons orange */
.account-type-enter {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    gap: 8px;
    
    width: 388px;
    height: 40px;
    
    border-radius: 4px;
    border: none;
    cursor: pointer;
    
    /* Inside auto layout */
    flex: none;
    order: 3;
    align-self: stretch;
    flex-grow: 0;
    z-index: 3;
    
    transition: background 0.2s ease;
}

.account-type-enter:disabled {
    /* Grey/Grey-borders */
    background: #D9D9D9;
    cursor: not-allowed;
}

.account-type-enter:not(:disabled) {
    /* Orange/Orange-Main */
    background: #FF6A3D;
}

.account-type-enter:not(:disabled):hover {
    background: #E55A30;
}

/* Enter Button Label */
.account-type-enter-label {
    width: 41px;
    height: 24px;
    
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    /* identical to box height, or 150% */
    
    /* White */
    color: #FFFFFF;
    
    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

/* Loading state */
.account-type-enter.loading {
    position: relative;
}

.account-type-enter.loading .account-type-enter-label {
    visibility: hidden;
}

.account-type-enter.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
} 