/* RealMe Body Styles */
.realme-body {
    background: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* RealMe Header */
.realme-header {
    background: #010100;
    color: white;
    padding: 1rem 0;
    border-bottom: 3px solid #d73502;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.realme-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.realme-logo-section {
    display: flex;
    align-items: center;
}

.realme-logo {
    height: 130px;
    width: auto;
}

.nz-immigration-logo {
    display: flex;
    align-items: center;
}

.nz-logo {
    height: 70px;
    width: auto;
}

/* RealMe Content */
.realme-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: #f0f0f0;
    min-height: calc(100vh - 200px);
}

/* Back Navigation */
.back-navigation {
    text-align: right;
    margin-bottom: 2rem;
}

.back-link {
    color: #D74308;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #b8350a;
    text-decoration: underline;
}

/* Registration Main */
.registration-main {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 0;
    border-radius: 0;
}

/* Page Title */
.page-title {
    color: #D74308;
    font-size: 2.2rem;
    font-weight: 400;
    margin: 0 0 2.5rem 0;
    line-height: 1.2;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Instructions Section */
.instructions-section {
    margin-bottom: 3rem;
}

.instructions-text {
    margin-bottom: 1rem;
    color: #1f2937;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.instructions-list {
    padding-left: 1.5rem;
    list-style: none;
    color: #D74308;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
}

.instructions-list li {
    margin-bottom: 0.3rem;
    font-weight: 400;
    position: relative;
}

.instructions-list li::before {
    content: "•";
    color: #D74308;
    position: absolute;
    left: -1.2rem;
    font-weight: bold;
}

/* Error Section */
.error-section {
    margin-bottom: 2rem;
}

.error-message {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 6px;
    padding: 1rem;
    color: #e53e3e;
    font-size: 0.9rem;
}

/* Registration Form */
.registration-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.realme-input {
    width: 100%;
    max-width: 600px;
    padding: 1rem 1.25rem;
    border: 2px solid #1f2937;
    border-radius: 8px;
    font-size: 1rem;
    background: #f9fafb;
    transition: all 0.2s ease;
    color: #374151;
    font-family: inherit;
}

.realme-input:focus {
    outline: none;
    border-color: #D74308;
    background: white;
    box-shadow: 0 0 0 3px rgba(215, 67, 8, 0.1);
}

.realme-input::placeholder {
    color: #6b7280;
    font-weight: 400;
}

/* Send Button */
.realme-send-btn {
    background: #D74308;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    max-width: 200px;
}

.realme-send-btn:hover {
    background: #B8360B;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(215, 67, 8, 0.3);
}

.btn-realme-icon {
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

/* Field Hint */
.field-hint {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

/* Password Section */
.password-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.section-heading {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.password-description {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

/* Password Requirements */
.password-requirements {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.requirement-column {
    color: #6b7280;
    line-height: 1.6;
}

.requirement-item {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Password Fields */
.password-fields {
    margin-bottom: 1rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.continue-btn {
    background: #22c55e;
    border: 2px solid #22c55e;
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 140px;
    justify-content: center;
}

.continue-btn:hover {
    background: #16a34a;
    border-color: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.cancel-btn {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    color: #D74308;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 120px;
    justify-content: center;
}

.cancel-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
    color: #b8350a;
}

.btn-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Registration Container */
.registration-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #e9ecef;
}

.registration-content {
    padding: 3rem;
}

.registration-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.registration-instructions {
    background: #f8f9fa;
    border-left: 4px solid #d73502;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 6px 6px 0;
}

.registration-instructions p {
    margin-bottom: 1rem;
    color: #333;
    font-weight: 500;
}

.registration-instructions ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.registration-instructions li {
    margin-bottom: 0.5rem;
}

/* Back Link */
.back-link-right {
    color: #d73502;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.back-link-right:hover {
    color: #b8260b;
    text-decoration: underline;
}

/* Password Section */
.password-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.password-section h3 {
    color: #1a1a1a;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.password-requirements {
    background: #f8f9fa;
    border: 1px solid #d73502;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.password-requirements div {
    line-height: 1.6;
    color: #333;
}

.password-requirements span {
    color: #d73502;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Special Button Styling for Send Code */
.btn[type="button"] {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border-color: #17a2b8;
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.2);
}

.btn[type="button"]:hover {
    background: linear-gradient(135deg, #138496 0%, #117a8b 100%);
    border-color: #117a8b;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(23, 162, 184, 0.3);
}

/* Registration Mobile Responsive */
@media (max-width: 768px) {
    .realme-content {
        padding: 1rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .realme-input {
        max-width: 100%;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .continue-btn,
    .cancel-btn {
        width: 100%;
        justify-content: center;
    }
    
    .password-requirements {
        max-width: 100%;
        padding: 1rem;
    }
}
