.register-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 2rem;
}


.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #3498db;
    outline: none;
}

.is-invalid {
    border-color: #e74c3c;
}

.error-message {
    display: block;
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: #2ecc71;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #27ae60;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #2980b9;
}

p {
    color: black;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.profile-pic-selection {
    text-align: center;
}

.profile-carousel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
}

.profile-pics-container {
    width: 80%;
    overflow: hidden;
    position: relative;
}

.profile-pics {
    display: flex;
    transition: transform 0.3s ease;
}

.profile-pic {
    flex: 0 0 20%;
    padding: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.profile-pic img {
    width: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    transition: border-color 0.3s;
}

.profile-pic.selected img {
    border-color: #3498db;
    transform: scale(1.1);
}

.carousel-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: #2c3e50;
    transition: color 0.3s;
}

.carousel-btn:hover {
    color: #3498db;
}

@media (max-width: 768px) {
    .register-container {
        margin: 1rem;
        padding: 1rem;
    }
    
    .profile-pic {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 480px) {
    .profile-pic {
        flex: 0 0 50%;
    }
}