/* Christian Workers Conference 2026 - Stylesheet */

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

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    color: #003366;
    margin-bottom: 20px;
    font-size: 2em;
}

h2 {
    color: #003366;
    margin: 20px 0 10px 0;
    font-size: 1.5em;
}

.box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.navigation {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    border-top: 2px solid #003366;
    border-bottom: 2px solid #003366;
}

.navigation a, .navigation .btn {
    margin: 0 10px;
}

/* Tables */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.info-table th {
    background-color: #003366;
    color: white;
    padding: 15px;
    text-align: left;
    vertical-align: top;
    width: 200px;
    font-weight: bold;
}

.info-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
}

.info-table tr:hover {
    background-color: #f5f5f5;
}

/* Forms */
.login-form,
.registration-form {
    max-width: 600px;
    margin: 30px auto;
}

fieldset {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}

legend {
    padding: 0 10px;
    color: #003366;
    font-weight: bold;
    font-size: 1.2em;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 5px rgba(0,51,102,0.2);
}

.required {
    color: #ff0000;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #003366;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #004080;
}

.btn-primary {
    background-color: #003366;
}

.btn-secondary {
    background-color: #666;
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: #777;
}

/* Alerts */
.alert {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Login Container */
.login-container {
    max-width: 500px;
    margin: 50px auto;
}

/* Registration Container */
.registration-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Certificate Styles */
.certificate-container {
    max-width: 900px;
    margin: 0 auto;
}

.certificate-box {
    margin: 30px 0;
    padding: 20px;
}

.certificate-border {
    border: 5px double #003366;
    padding: 40px;
    background-color: #fffef0;
}

.certificate-content {
    text-align: center;
}

.certificate-content h2 {
    font-size: 2.5em;
    color: #003366;
    margin-bottom: 30px;
}

.certificate-text {
    font-size: 1.2em;
    margin: 15px 0;
}

.certificate-name {
    margin: 30px 0;
    font-size: 1.5em;
    font-weight: bold;
}

.certificate-dates {
    font-size: 1.3em;
    margin: 20px 0;
    color: #ff0000;
}

/* View Registrations */
.view-container {
    max-width: 1200px;
    margin: 0 auto;
}

.table-responsive {
    overflow-x: auto;
    margin: 20px 0;
}

.registrations-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.registrations-table th {
    background-color: #003366;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: bold;
}

.registrations-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.registrations-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.registrations-table tr:hover {
    background-color: #f5f5f5;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    border-top: 2px solid #003366;
    color: #666;
}

/* Links */
a {
    color: #003366;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }
    
    .info-table th {
        text-align: center;
    }
}
