.box-profile__sso {
    margin-bottom: 24px;
}

.box-profile__sso-text {
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-text-secondary);
}

.box-profile__sso-divider {
    text-align: center;
    margin-bottom: 16px;
}

.box-profile__sso-divider-text {
    color: var(--color-text-secondary);
}

.box-profile__sso-button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.box-profile__actions {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

.box-profile__button {
    text-align: center;
}

.box-profile__button--reset {
    margin-top: 16px;
}

/* Registration specific styles */
.box-registration__sso {
    margin-bottom: 24px;
}

.box-registration__form__submit {
    width: 100%;
}

/* Radio button styling for organization selection */
/* Ensure radio button labels don't stretch vertically */
.ui-field .ui-field__radio {
    align-self: flex-start;
}

.ui-field__radio {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 12px;
    border: 2px solid #dee0e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #fff;
    width: 100%;
    min-height: auto;
    height: auto;
    flex-shrink: 0;
}

.ui-field__radio:hover {
    border-color: #5855f4;
    background-color: #f8f8ff;
}

.ui-field__radio input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-right: 12px;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    border: 2px solid #dee0e6;
    border-radius: 50%;
    background-color: #fff;
    position: relative;
    transition: all 0.2s ease;
    min-height: auto;
}

.ui-field__radio input[type="radio"]:checked {
    border-color: #5855f4;
    background-color: #5855f4;
}

.ui-field__radio input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
}

.ui-field__radio input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(88, 85, 244, 0.2);
}

.ui-field__radio input[type="radio"]:checked + span {
    color: #001553;
    font-weight: 600;
}

.ui-field__radio span {
    display: flex;
    align-items: center;
    flex: 1;
    color: #001553;
    font-size: 15px;
    line-height: 24px;
    min-height: auto;
    height: auto;
}

.ui-field__radio span strong {
    font-weight: 600;
    margin-right: 8px;
}

@media (max-width: 450px) {
    .ui-field__radio {
        padding: 12px;
        margin-bottom: 8px;
    }
    
    .ui-field__radio input[type="radio"] {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }
    
    .ui-field__radio input[type="radio"]:checked::after {
        width: 6px;
        height: 6px;
    }
    
    .ui-field__radio span {
        font-size: 14px;
        line-height: 20px;
    }
}

/* Register Info page styles - comprehensive styling for migrated component */
.register-info-container {
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: #f8fafc;
    min-height: 100vh;
}

/* Reset and isolate register-info-root from Razor layout styles */
#register-info-root {
    all: initial;
    display: block;
    width: 100%;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #0f172a;
    background-color: #f8fafc;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#register-info-root * {
    box-sizing: border-box;
}

/* Flexbox utilities */
#register-info-root .flex {
    display: flex;
}

#register-info-root .flex-col {
    flex-direction: column;
}

#register-info-root .items-start {
    align-items: flex-start;
}

#register-info-root .items-center {
    align-items: center;
}

#register-info-root .justify-center {
    justify-content: center;
}

#register-info-root .justify-between {
    justify-content: space-between;
}

/* Spacing utilities */
#register-info-root .min-h-screen {
    min-height: 100vh;
}

#register-info-root .w-full {
    width: 100%;
}

#register-info-root .max-w-4xl {
    max-width: 56rem;
}

#register-info-root .max-w-2xl {
    max-width: 42rem;
}

#register-info-root .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

#register-info-root .py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

#register-info-root .p-6 {
    padding: 1.5rem;
}

#register-info-root .space-y-2 > * + * {
    margin-top: 0.5rem;
}

#register-info-root .space-y-4 > * + * {
    margin-top: 1rem;
}

/* Gap utilities */
#register-info-root .gap-2 {
    gap: 0.5rem !important;
}

#register-info-root .gap-3 {
    gap: 0.75rem !important;
}

#register-info-root .gap-4 {
    gap: 1rem !important;
}

#register-info-root .gap-6 {
    gap: 1.5rem !important;
}

@media (min-width: 768px) {
    #register-info-root .md\:gap-8 {
        gap: 2rem !important;
    }
    
    #register-info-root .md\:p-10 {
        padding: 2.5rem;
    }
}

/* Grid utilities */
#register-info-root .grid {
    display: grid;
}

#register-info-root .grid.gap-2 {
    gap: 0.5rem !important;
}

#register-info-root .grid.gap-4 {
    gap: 1rem !important;
}

@media (min-width: 640px) {
    #register-info-root .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    #register-info-root .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    #register-info-root .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    #register-info-root .md\:flex-row {
        flex-direction: row;
    }
}

/* Background colors */
#register-info-root .bg-slate-50 {
    background-color: #f8fafc;
}

#register-info-root .bg-white {
    background-color: #ffffff;
}

#register-info-root .bg-indigo-50 {
    background-color: #eef2ff;
}

#register-info-root .bg-indigo-600 {
    background-color: #4f46e5;
}

#register-info-root .bg-red-50 {
    background-color: #fef2f2;
}

/* Text colors */
#register-info-root .text-slate-900 {
    color: #0f172a;
}

#register-info-root .text-slate-600 {
    color: #475569;
}

#register-info-root .text-slate-700 {
    color: #334155;
}

#register-info-root .text-slate-500 {
    color: #64748b;
}

#register-info-root .text-indigo-600 {
    color: #4f46e5;
}

#register-info-root .text-indigo-500 {
    color: #6366f1;
}

#register-info-root .text-red-600 {
    color: #dc2626;
}

#register-info-root .text-red-700 {
    color: #b91c1c;
}

#register-info-root .text-white {
    color: #ffffff;
}

/* Typography */
#register-info-root .text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

#register-info-root .text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

#register-info-root .text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

#register-info-root .text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

#register-info-root .text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

@media (min-width: 768px) {
    #register-info-root .md\:text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    #register-info-root .md\:text-base {
        font-size: 1rem;
        line-height: 1.5rem;
    }
}

#register-info-root .font-medium {
    font-weight: 500;
}

#register-info-root .font-semibold {
    font-weight: 600;
}

#register-info-root .uppercase {
    text-transform: uppercase;
}

#register-info-root .tracking-\[0\.2em\] {
    letter-spacing: 0.2em;
}

/* Borders and rounded corners */
#register-info-root .border {
    border-width: 1px;
}

#register-info-root .border-t {
    border-top-width: 1px;
}

#register-info-root .border-slate-200 {
    border-color: #e2e8f0;
}

#register-info-root .border-slate-300 {
    border-color: #cbd5e1;
}

#register-info-root .border-indigo-500 {
    border-color: #6366f1;
}

#register-info-root .border-red-200 {
    border-color: #fecaca;
}

#register-info-root .border-red-300 {
    border-color: #fca5a5;
}

#register-info-root .rounded-lg {
    border-radius: 0.5rem;
}

#register-info-root .rounded-xl {
    border-radius: 0.75rem;
}

#register-info-root .rounded-3xl {
    border-radius: 1.5rem;
}

/* Shadows */
#register-info-root .shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#register-info-root .shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Buttons */
#register-info-root button {
    margin: 0;
    cursor: pointer;
    font-family: inherit;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    transition: all 0.15s ease-in-out;
    min-height: 2.5rem;
}

#register-info-root button:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

#register-info-root button:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

#register-info-root button.border-indigo-500 {
    border-color: #6366f1;
    background-color: #eef2ff;
    color: #4f46e5;
}

#register-info-root button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Input fields */
#register-info-root input[type="url"],
#register-info-root textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    outline: none;
    transition: all 0.15s ease-in-out;
    background-color: #ffffff;
    color: #0f172a;
}

#register-info-root input[type="url"]:focus,
#register-info-root textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.1);
}

#register-info-root input[type="url"].border-red-300,
#register-info-root textarea.border-red-300 {
    border-color: #fca5a5;
}

#register-info-root textarea {
    resize: vertical;
    min-height: 4rem;
}

/* Submit button */
#register-info-root footer button[type="button"]:not(.text-indigo-600) {
    background-color: #4f46e5;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: background-color 0.15s ease-in-out;
}

#register-info-root footer button[type="button"]:not(.text-indigo-600):hover:not(:disabled) {
    background-color: #4338ca;
}

#register-info-root footer button[type="button"].text-indigo-600 {
    background: none;
    border: none;
    color: #4f46e5;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    box-shadow: none;
}

#register-info-root footer button[type="button"].text-indigo-600:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Section spacing */
#register-info-root section {
    display: flex;
    flex-direction: column;
}

#register-info-root section + section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

#register-info-root header {
    margin-bottom: 1.5rem;
}

#register-info-root footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Labels */
#register-info-root label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
}

/* Error messages */
#register-info-root .text-red-600 {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Alert boxes */
#register-info-root [role="alert"] {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #fecaca;
    background-color: #fef2f2;
    color: #b91c1c;
    font-size: 0.875rem;
} 