.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 2rem;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="none" stroke="rgba(174,58,30,0.05)" stroke-width="1" width="100" height="100"/></svg>');
    background-size: 30px;
}

.register-card {
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(174, 58, 30, 0.2);
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.register-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(174, 58, 30, 0.3);
}

.register-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.register-header h2 {
    color: #ae3a1e;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.register-header p {
    color: #7a6f6b;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.6rem;
    color: #ae3a1e;
    font-size: 1.1rem;
}

.input-with-icon {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #e0d6d2;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #5a4e48;
    background-color: #fcf9f7;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #ae3a1e;
    box-shadow: 0 0 0 3px rgba(174, 58, 30, 0.2);
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.register-btn {
    width: 100%;
    padding: 14px;
    background-color: #ae3a1e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.register-btn:hover {
    background-color: #8a2b16;
    transform: translateY(-2px);
}

.register-btn:active {
    transform: translateY(0);
}

.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.login-link a {
    color: #4a7dff;
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    text-decoration: underline;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
    display: none;
}