/* Asosiy styling */
.chamber-app-status {
    margin-top: 20px;
}

.chamber-app-status__container {
    width: 100%;
    max-width: 480px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: chamber-slide-up 0.6s ease-out;
}

@keyframes chamber-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step styling */
.chamber-step {
    display: none;
}

.chamber-step--active {
    display: block;
}

.chamber-step__header {
    padding: 40px 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.chamber-step__back-button {
    position: absolute;
    left: 20px;
    top: 20px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #64748b;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.chamber-step__back-button:hover {
    background: #e2e8f0;
    color: #374151;
}

.chamber-step__back-button svg {
    width: 24px;
    height: 24px;
}

/* Logo va title styling */
.chamber-step__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    color: #4f46e5;
}

.chamber-step__logo-icon {
    width: 32px;
    height: 32px;
}

.chamber-step__title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.chamber-step__title--verification {
    color: #059669;
}

.chamber-step__title-icon {
    width: 28px;
    height: 28px;
}

.chamber-step__subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

.chamber-step__timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: #dc2626;
    font-weight: 600;
    font-size: 18px;
}

.chamber-step__timer-icon {
    width: 20px;
    height: 20px;
}

/* Content styling */
.chamber-step__content {
    padding: 40px;
}

.chamber-message {
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    animation: chamber-message-in 0.4s ease-out;
    display: none;
}

@keyframes chamber-message-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chamber-message--error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #dc2626;
}

.chamber-message--success {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #059669;
}

.chamber-message__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.chamber-message__icon svg {
    width: 100%;
    height: 100%;
}

.chamber-message__content {
    flex: 1;
}

.chamber-message__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.chamber-message__description {
    font-size: 14px;
    color: #374151;
}

/* Form styling */
.chamber-form__group {
    margin-bottom: 32px;
}

.chamber-form__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.chamber-form__label-icon {
    width: 20px;
    height: 20px;
    color: #6b7280;
}

/* Phone input group */
.chamber-form__input-group {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    overflow: hidden;
}

.chamber-form__input-group:focus-within {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.chamber-form__phone-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 100%;
    padding: 0 16px;
    border-right: 2px solid #e5e7eb;
    color: #374151;
    font-weight: 600;
    font-size: 16px;
    user-select: none;
}

.chamber-form__phone-prefix-text {
    color: #111827;
    font-weight: 600;
}

.chamber-form__input {
    flex: 1;
    border: none;
    border-radius: 0;
    padding: 16px;
    padding-left: 12px;
    background: transparent;
    font-size: 16px;
    color: #111827;
    outline: none;
    letter-spacing: 0.5px;
}

.chamber-form__input::placeholder {
    color: #9ca3af;
}

.chamber-form__error {
    font-size: 14px;
    color: #dc2626;
    margin-top: 8px;
}

/* Verification code inputs */
.chamber-verification__code-inputs {
    display: flex;
    gap: 12px;
    justify-content: center;
    /*margin-top: 20px;*/
}

.chamber-verification__code-input {
    width: 56px;
    height: 68px;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    color: #111827;
    transition: all 0.3s ease;
    outline: none;
}

.chamber-verification__code-input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    transform: translateY(-2px);
}

.chamber-verification__code-input.filled {
    border-color: #10b981;
    background: #f0fdf4;
}

.chamber-verification__code-input.error {
    border-color: #dc2626;
    background: #fef2f2;
}

/* Buttons */
.chamber-form__actions {
    display: flex;
    gap: 16px;
}

.chamber-form__actions--verification {
    margin-top: 40px;
}

.chamber-button {
    flex: 1;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.chamber-button--primary {
    background: linear-gradient(135deg, #197CDC 0%, #4BA0F3 100%);
    color: white;
}

.chamber-button--primary:hover {
    background: linear-gradient(135deg, #0b63b7 0%, #2e7ac5 100%);
}

.chamber-button--primary:active {
    transform: translateY(0);
}

.chamber-button--secondary {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.chamber-button--secondary:hover {
    background: #e5e7eb;
}

.chamber-button--resend {
    opacity: 0.6;
    cursor: not-allowed;
}

.chamber-button--resend.active {
    opacity: 1;
    cursor: pointer;
}

.chamber-button__icon {
    width: 20px;
    height: 20px;
}

.chamber-button__text {
    display: block;
}

.chamber-button__spinner {
    width: 20px;
    height: 20px;
    animation: chamber-spin 1s linear infinite;
    display: none;
}

@keyframes chamber-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.chamber-loading .chamber-button__text {
    display: none;
}

.chamber-loading .chamber-button__spinner {
    display: block;
}

/* Footer */
.chamber-step__footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.chamber-step__footer-text {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* Container footer */
.chamber-app-status__footer {
    padding: 24px 40px;
    text-align: center;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.chamber-app-status__footer-text {
    font-size: 14px;
    color: #64748b;
}

/* Shake animation */
@keyframes chamber-shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .chamber-app-status__container {
        border-radius: 16px;
    }

    .chamber-step__header,
    .chamber-step__content {
        padding: 24px;
    }

    .chamber-step__title {
        font-size: 24px;
    }

    .chamber-form__actions {
        flex-direction: column;
    }

    .chamber-verification__code-inputs {
        gap: 8px;
    }

    .chamber-verification__code-input {
        width: 48px;
        height: 60px;
        font-size: 28px;
    }
}