:root {
    --primary-color: #6c63ff;
    --secondary-color: #4d44db;
    --accent-color: #ff6584;
    --dark-color: #2f2e41;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    min-height: 100vh;
    align-items: center;
}

.signup-container {
    max-width: 500px;
    width: 100%;
}

.signup-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.signup-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

.signup-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: white;
    rotate: 45deg;
    z-index: 1;
}

.signup-body {
    padding: 40px;
    background: white;
    position: relative;
    z-index: 2;
}

.form-control {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding-left: 45px;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.form-select {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.form-select:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.input-group-text {
    position: absolute;
    z-index: 4;
    height: 50px;
    background: transparent;
    border: none;
    color: #a0a0a0;
}

.btn-signup {
    background: var(--primary-color);
    border: none;
    height: 50px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-signup:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.3);
}

.signup-footer {
    text-align: center;
    padding-top: 20px;
    color: #a0a0a0;
}

.signup-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #a0a0a0;
    z-index: 5;
}

.form-floating label {
    padding-left: 45px;
}

.role-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

.role-badge.adm {
    background: rgba(255, 101, 132, 0.1);
    color: var(--accent-color);
}

.role-badge.instructor {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
}

.role-badge.user {
    background: rgba(0, 200, 83, 0.1);
    color: #00c853;
}