* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fcf8f7;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.main-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    background-color: #fcf8f7;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-image: url('/api/placeholder/1200/600'); */
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.diagonal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(75deg, #7e0e09 0%, #7e0e09 35%, transparent 35%, transparent 100%);
    z-index: 1;
}

/* Signup form styles */
.signup-container {
    position: relative;
    width: 75%;
    max-width: 1000px;
    z-index: 3;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 30px;
}

.signup-title {
    text-align: center;
    margin-bottom: 30px;
}

.signup-title h2 {
    color: #7e0e09;
    font-size: 26px;
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Custom styling for Bootstrap elements */
.form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 12px;
    height: auto;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #7e0e09;
    box-shadow: 0 0 0 0.2rem rgba(126, 14, 9, 0.25);
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: 500;
    color: #444;
    margin-bottom: 5px;
    display: block;
}

.submit-btn {
    display: block;
    margin: 10px auto; 
    padding: 14px;
    background-color: #7e0e09;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
    letter-spacing: 0.5px;
}


.submit-btn:hover {
    background-color: #7a0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(139, 0, 0, 0.25);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.2);
}

.login-link-container {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #555;
}

.login-link {
    color: #7e0e09;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #a01f1a;
    text-decoration: underline;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .signup-container {
        width: 85%;
    }
}

@media (max-width: 768px) {
    .diagonal-overlay {
        background: linear-gradient(180deg, #7e0e09 0%, #7e0e09 30%, transparent 30%, transparent 100%);
    }
    
    .signup-container {
        width: 90%;
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .signup-container {
        width: 95%;
        padding: 20px;
    }
    
    .signup-title h2 {
        font-size: 22px;
    }
    
    .form-control {
        font-size: 14px;
    }
}