/* PIWC Worcester Welcome Home Form Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #2c3e50;
    color: white;
    line-height: 1.4;
}

.main-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
    background: #2c3e50;
    min-height: 100vh;
}

/* Header Section */
.header-section {
    background: #2c3e50;
    padding: 1rem;
    text-align: center;
    position: relative;
}

.date-section {
    background: white;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    height: 50px;
    display: flex;
    align-items: center;
    min-width: 200px;
}

.date-label {
    color: #2c3e50;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.date-input {
    border: none;
    background: transparent;
    color: #2c3e50;
    font-size: 1rem;
    outline: none;
    width: 200px;
}

/* Status Section */
.status-section {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.5rem;
    border-radius: 5px;
    height: 50px;
    display: flex;
    align-items: center;
}

.status-checkboxes {
    display: flex !important;
    gap: 1rem;
    visibility: visible !important;
}

.status-checkboxes .checkbox-item {
    display: flex !important;
    align-items: center;
    gap: 0.3rem;
    visibility: visible !important;
}

.status-checkboxes label {
    color: #2c3e50;
    font-weight: bold;
    font-size: 0.9rem;
    visibility: visible !important;
}

.status-checkboxes input[type="checkbox"] {
    width: 16px;
    height: 16px;
    visibility: visible !important;
    display: block !important;
}

/* Gender Section */
.gender-checkboxes {
    display: flex !important;
    gap: 2rem;
    margin-top: 0.5rem;
    visibility: visible !important;
}

.gender-checkboxes .checkbox-item {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    visibility: visible !important;
}

.gender-checkboxes label {
    color: white;
    font-weight: bold;
    font-size: 1rem;
    visibility: visible !important;
}

.gender-checkboxes input[type="checkbox"] {
    width: 20px;
    height: 20px;
    visibility: visible !important;
    display: block !important;
}

.arrow-down {
    font-size: 2rem;
    margin: 1rem 0;
    color: white;
}

.welcome-text h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.you-section {
    margin: 3rem 0;
    text-align: center;
}

.you-text-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.you-letter {
    font-size: 8rem;
    font-weight: 900;
    color: white;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    line-height: 1;
    font-family: 'Arial Black', Arial, sans-serif;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.you-logo-o {
    width: 8rem;
    height: 8rem;
    border: 4px solid #3498db;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    vertical-align: baseline;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

/* Success page logo styling */
.church-info {
    text-align: center;
    margin: 2rem 0;
}

.church-logo-center {
    margin-bottom: 1rem;
}

.success-logo-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3498db;
}

.church-text {
    margin-top: 1rem;
}

/* Admin page logo styling */
.admin-logo-container {
    width: 60px;
    height: 60px;
    position: relative;
}

.admin-logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 1;
}

.admin-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    display: block;
}

/* Church logo styles moved to footer */

.logo-circle {
    width: 120px;
    height: 120px;
    border: 4px solid white;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.main-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.logo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.9), transparent);
    padding: 8px 4px 4px 4px;
    text-align: center;
}

.logo-content {
    text-align: center;
    color: white;
}

.logo-content i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.logo-text {
    font-size: 0.7rem;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}

.mother-church {
    font-size: 0.8rem;
    font-weight: 900;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-bottom: 2px;
}

.assembly-text {
    font-size: 0.6rem;
    font-weight: 600;
    color: #e8f4fd;
    line-height: 1.1;
}

.world-map {
    margin-top: 0.25rem;
}

.instruction-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.instruction-box p {
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0;
}

.highlight {
    color: #f39c12;
    font-weight: bold;
}

/* Form Styles */
.member-form {
    background: #2c3e50;
    padding: 1rem;
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: white;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: none;
    background: white;
    border-radius: 3px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.large-input {
    min-height: 50px;
}

.form-input:focus {
    outline: 2px solid #3498db;
}

/* Checkbox Styles */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.25rem;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
}

.checkbox-item label {
    color: #2c3e50;
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0;
    cursor: pointer;
    flex: 1;
}

.other-section {
    margin-top: 1rem;
}

/* Welcome Home Section */
.welcome-home {
    text-align: center;
    margin: 3rem 0 2rem 0;
    padding: 2rem 0;
}

.welcome-home h2 {
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: white;
}

/* Next Steps Section */
.next-steps-section {
    background: #95a5a6;
    padding: 2rem 1rem;
    margin: 0 -1rem;
    color: white;
}

.next-steps-header {
    text-align: center;
    margin-bottom: 2rem;
}

.next-steps-header h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
}

.steps-text {
    color: #2c3e50;
}

.decorative-arrow {
    margin: 1rem 0;
    font-size: 1.5rem;
}

.first-time-section {
    margin-bottom: 2rem;
}

.large-checkbox {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    text-align: left;
}

.large-checkbox label {
    font-size: 0.9rem;
    line-height: 1.3;
}

.steps-container {
    background: white;
    padding: 1rem;
    border-radius: 5px;
    color: #2c3e50;
}

.steps-label {
    display: block;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.steps-list .checkbox-item {
    background: #f8f9fa;
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    border-radius: 3px;
}

.steps-list .checkbox-item label {
    font-size: 0.85rem;
    color: #2c3e50;
}

/* Church Info Footer */
.church-info-footer {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    background: white;
    padding: 1rem;
    border-radius: 5px;
}

.church-logo-small {
    margin-right: 1rem;
}

.logo-circle-small {
    width: 60px;
    height: 60px;
    border: 2px solid #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* White border version for admin header */
.admin-header .logo-circle-small {
    border-color: white;
    background: white;
    border-width: 3px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.footer-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.church-details {
    flex: 1;
    color: #2c3e50;
}

.church-name {
    font-size: 1.2rem;
    font-weight: 900;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.church-subtitle {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.contact-info {
    margin-top: 1rem;
}

/* Submit Section */
.submit-section {
    padding: 2rem 1rem;
    text-align: center;
}

.submit-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 480px) {
    .main-container {
        max-width: 100%;
    }
    
    .you-text {
        font-size: 3rem;
    }
    
    .logo-circle {
        width: 100px;
        height: 100px;
    }
    
    .welcome-home h2 {
        font-size: 2.5rem;
    }
    
    .next-steps-header h3 {
        font-size: 2rem;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .church-info-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .church-logo-small {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Form Validation States */
.form-input:invalid {
    border: 2px solid #e74c3c;
}

.form-input:valid {
    border: 2px solid #27ae60;
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading .submit-btn {
    background: #95a5a6;
}

/* Success Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .submit-section {
        display: none;
    }
}
