
.up-page-wrapper {
    background-color: #f4f6f8;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 24px;
}

/* Container acts as a card on desktop, full screen on mobile */
.up-container {
    background: #ffffff;
    width: 100%;
    max-width: 480px; /* Constrains width on large screens */
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 700px; /* Gives it a good phone-like proportion on desktop */
    overflow: hidden;
}

/* Header */
.up-header {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    gap: 16px;
}

.up-back-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
    transition: opacity 0.2s;
}

    .up-back-btn:hover {
        opacity: 0.7;
    }

    .up-back-btn svg {
        width: 20px;
        height: 20px;
    }

.up-header-title {
    font-size: 16px;
    font-weight: 600;
    color: #4b5563;
}

/* Content Area */
.up-content {
    padding: 16px 24px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Titles */
.up-titles {
    text-align: center;
    margin-bottom: 32px;
}

.up-main-title {
    color: #064e3b; /* Figma dark green */
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.up-subtitle {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    padding: 0 10px;
}

/* Form Layout */
.up-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.up-form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.up-label {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    margin: 0;
}

/* Inputs */
.up-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.up-icon {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.up-input {
    width: 100%;
    padding: 14px 14px 14px 44px; /* Space for icon */
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2937;
    background-color: #ffffff;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

    .up-input:focus {
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    }

    .up-input::placeholder {
        color: #d1d5db;
    }

/* Bottom Actions */
.up-actions {
    margin-top: auto; /* Pushes the button to the very bottom */
    padding-top: 32px;
}

.up-btn-submit {
    width: 100%;
    background-color: #3b82f6; /* Figma blue */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .up-btn-submit:hover {
        background-color: #2563eb;
    }

/* --- MOBILE SPECIFIC OVERRIDES --- */
@media (max-width: 576px) {
    .up-page-wrapper {
        padding: 0;
        background-color: #ffffff;
        align-items: stretch;
    }

    .up-container {
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        min-height: 100vh;
    }
}

