/* IOA Sri Lanka - Professional Registration Form Styles */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
    color: #333;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
.header {
    background: #fff;
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-placeholder {
    width: 240px;
    height: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo {
    width: 100%;
    height: 200%;
    object-fit: contain;
}

.logo-text {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    text-align: center;
}

.header-text h1 {
    color: #663399;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.header-text p {
    color: #666;
    font-size: 14px;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.form-container {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
}

.form-container h2 {
    color: #663399;
    font-size: 28px;
    margin-bottom: 10px;
    text-align: center;
}

.form-description {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

/* Message Styles */
.message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
}

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

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

/* Form Styles */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #663399;
    box-shadow: 0 0 0 3px rgba(102, 51, 153, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.form-group select {
    cursor: pointer;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23663399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.hint {
    color: #999;
    font-size: 12px;
    margin-top: -5px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-primary {
    background: #663399;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 51, 153, 0.4);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #fff;
    padding: 20px 30px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content p {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

.footer-contact {
    color: #663399;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .header-text h1 {
        font-size: 24px;
    }

    .main-content {
        padding: 20px 15px;
    }

    .form-container {
        padding: 25px;
    }

    .form-container h2 {
        font-size: 24px;
    }

    .form-actions {
        flex-direction: column;
    }

    .footer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .logo-placeholder {
        width: 60px;
        height: 60px;
    }

    .logo-text {
        font-size: 22px;
    }

    .header-text h1 {
        font-size: 20px;
    }

    .form-container {
        padding: 20px;
    }

    .form-container h2 {
        font-size: 20px;
    }
}
