
 .message {
          
            margin-bottom: 15px;
            border-radius: 5px;
            font-weight: bold;
        }
        .success { background-color: #d4edda; color: #155724; }
        .error   { background-color: #f8d7da; color: #721c24; }

.container-memreg {
    max-width: 800px; /* Increased from 600px to 800px */
    line-height: 1.6;
    padding: 30px;
    font-family: 'Montserrat', sans-serif;
    color: black;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}
.success-message {
    text-align: center;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #ddd;
}

.success-message h2 {
    margin-bottom: 15px;
}

.success-message p {
    margin-bottom: 10px;
    color: black;
}
.container-memreg h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #dd0000;
    font-weight: 700;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: black;
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #ffbb00;
}

.submit-btn {
    background-color: #dd0000;
    color: white;
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Montserrat', sans-serif;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #ffbb00;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container-memreg {
        padding: 20px;
    }
}

@media (max-width: 480px) {
   
    .container-memreg {
        padding: 15px;
    }
    
    .form-group input {
        padding: 10px 12px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .container-memreg h1 {
        font-size: 24px;
    }
    
    .form-group label {
        font-size: 14px;
    }
    
    .form-group input {
        font-size: 14px;
    }
}