
/* Breadcrumb Section */
.breadcrumb-section {
  background: var(--card-bg);
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
  margin: 0;
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--secondary-color);
}

.breadcrumb-item.active {
  color: var(--text-color);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  color: var(--text-color);
  opacity: 0.6;
}
/* Register Page Specific Styles */
.register-page-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 80px 0 60px;
    position: relative;
}

.register-page-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23bb8a09" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23bb8a09" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23bb8a09" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23bb8a09" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23bb8a09" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.register-wrapper {
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
    position: relative;
    z-index: 2;
}

.register-form-section {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-info-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.register-info-section::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="1" fill="white" opacity="0.1"/><circle cx="30" cy="70" r="0.5" fill="white" opacity="0.1"/><circle cx="70" cy="30" r="0.5" fill="white" opacity="0.1"/></svg>');
    animation: float 20s linear infinite;
    z-index: 1;
}

.register-info-section > * {
    position: relative;
    z-index: 2;
}

@keyframes float {
    0% { transform: rotate(0deg) translateX(0px); }
    100% { transform: rotate(360deg) translateX(20px); }
}

.register-header {
    text-align: center;
    margin-bottom: 40px;
}

.register-header h2 {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.register-header p {
    color: var(--text-color);
    font-size: 16px;
    opacity: 0.8;
}

.register-form {
    max-width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-label i {
    margin-right: 8px;
    color: var(--primary-color);
    width: 16px;
}

.form-control,
.form-select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--bg-color);
    color: var(--text-color);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(187, 138, 9, 0.25);
    background: var(--bg-color);
    color: var(--text-color);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 5px;
    font-size: 13px;
    color: #dc3545;
}
.email-accepted {
    display: block;
    width: 100%;
    margin-top: 5px;
    font-size: 13px;
    color: #35dc38;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 5px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    opacity: 1;
    color: var(--primary-color);
}

.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 25%;
    background: #dc3545;
}

.strength-fill.fair {
    width: 50%;
    background: #ffc107;
}

.strength-fill.good {
    width: 75%;
    background: #17a2b8;
}

.strength-fill.strong {
    width: 100%;
    background: #28a745;
}

.strength-text {
    font-size: 12px;
    color: var(--text-color);
    opacity: 0.7;
}

.form-check {
    margin-bottom: 15px;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.4;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.terms-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.btn-register-submit {
    width: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 15px;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(187, 138, 9, 0.3);
}
.btn-register-failed {
    width: 100%;
    color: white;
    font-weight: bold;
    font-size: 16px;
    padding: 15px;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(187, 138, 9, 0.3);
}

.btn-register-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(187, 138, 9, 0.4);
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
}

.btn-register-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-link {
    text-align: center;
    font-size: 14px;
    color: var(--text-color);
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-link a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Info Section Styles */
.info-content h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: white;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.benefit-icon i {
    font-size: 20px;
    color: white;
}

.benefit-content h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
}

.benefit-content p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

.contact-info {
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-info h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: white;
}

.contact-info p {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    width: 16px;
    color: var(--secondary-color);
}

/* Loading Animation */
.btn-register-submit.loading {
    position: relative;
    color: transparent;
}

.btn-register-submit.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .register-form-section,
    .register-info-section {
        padding: 40px 30px;
    }
}

@media (max-width: 992px) {
    .register-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .register-info-section {
        order: -1;
        padding: 40px 30px;
    }
    
    .register-form-section {
        padding: 40px 30px;
    }
    
    .register-header h2 {
        font-size: 28px;
    }
    
    .info-content h3 {
        font-size: 24px;
        text-align: center;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin: 0 auto 15px auto;
    }
}

@media (max-width: 768px) {
    .register-page-section {
        padding: 60px 0 40px;
    }
    
    .register-form-section,
    .register-info-section {
        padding: 30px 20px;
    }
    
    .register-header h2 {
        font-size: 24px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control,
    .form-select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .btn-register-submit {
        padding: 12px;
        font-size: 14px;
    }
    
    .info-content h3 {
        font-size: 20px;
    }
    
    .benefit-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .benefit-content h4 {
        font-size: 14px;
    }
    
    .benefit-content p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .register-wrapper {
        margin: 0 10px;
        border-radius: 15px;
    }
    
    .register-form-section,
    .register-info-section {
        padding: 25px 15px;
    }
    
    .register-header {
        margin-bottom: 30px;
    }
    
    .register-header h2 {
        font-size: 22px;
    }
    
    .form-label {
        font-size: 13px;
    }
    
    .form-control,
    .form-select {
        font-size: 14px;
    }
}

/* Dark Theme Adjustments */
[data-theme="dark"] .register-page-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

[data-theme="dark"] .register-wrapper {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background: var(--card-bg);
    color: var(--text-color);
}

/* Animation for form validation */
.form-control.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Success checkmark animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #28a745;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0px 0px 0px #28a745;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.success-checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #28a745;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #28a745;
    }
}