/* ==========================================================
   Project      : Divine Connectionz
   Page         : email-7days-course.html
   File         : email-7days-course.css
   ========================================================== */

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

body {
    font-family: Arial, sans-serif;
    background-color: #f5f7fb;
    color: #333;
    line-height: 1.6;
}

.course-registration-section {
    padding: 50px 20px;
}

.container {
    max-width: 700px;
    margin: auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

h1 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a237e;
}

.intro {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 30px;
    color: #555;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
}

input,
select {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border: 1px solid #cccccc;
    border-radius: 8px;
    outline: none;
    transition: 0.3s;
}

input:focus,
select:focus {
    border-color: #1a237e;
    box-shadow: 0 0 8px rgba(26, 35, 126, 0.15);
}

.privacy-note {
    margin-top: 25px;
    padding: 15px;
    background: #f0f4ff;
    border-left: 5px solid #1a237e;
    border-radius: 8px;
}

.privacy-note p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
}

.privacy-note p:last-child {
    margin-bottom: 0;
}

button {
    width: 100%;
    margin-top: 25px;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #1a237e;
    color: white;
    transition: 0.3s;
}

button:hover {
    background: #283593;
}

button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#message {
    margin-top: 25px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.success {
    color: #2e7d32;
}

.error {
    color: #d32f2f;
}

/* ===========================
   Mobile View
   =========================== */

@media (max-width: 768px) {

    .course-registration-section {
        padding: 20px 12px;
    }

    .container {
        padding: 25px 20px;
        border-radius: 10px;
    }

    h1 {
        font-size: 1.6rem;
    }

    .intro {
        font-size: 0.95rem;
    }

    input,
    select,
    button {
        font-size: 16px; /* Prevents zoom on iPhone */
    }
}


