/* Access Denied Page Styles */
.access-denied-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    padding: 2rem 1rem;
}

:root {
    --primary-color: #007bff;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --dark-bg: #1a1a2e;
    --card-bg: #16213e;
    --light-text: #ffffff;
    --muted-text: #b0b0b0;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.access-denied-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.error-card {
 background: var(--card-bg);
 border-radius: var(--border-radius);
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 700px;
  width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.error-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Icon Section */
.icon-wrapper {
    margin-bottom: 30px;
}

.error-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2) 0%, rgba(255, 193, 7, 0.1) 100%);
 border-radius: 50%;
    display: flex;
 align-items: center;
    justify-content: center;
animation: pulse 2s infinite;
    border: 2px solid rgba(220, 53, 69, 0.3);
}

.error-icon i {
    font-size: 50px;
    color: #ff6b6b;
}

/* Title & Subtitle */
.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.error-subtitle {
    font-size: 1.1rem;
    color: var(--muted-text);
    margin-bottom: 25px;
    font-weight: 500;
}

/* Description */
.error-description {
    background: rgba(255, 193, 7, 0.08);
    border-left: 4px solid var(--warning-color);
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0 30px;
    text-align: left;
}

.error-description p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-text);
}

.error-description p:last-child {
    margin-bottom: 0;
}

.error-description i {
    color: var(--warning-color);
    font-size: 1.2rem;
}

.error-description .text-muted {
    color: var(--muted-text) !important;
}

/* Action Buttons */
.error-actions {
    display: flex;
    flex-direction: column;
  gap: 12px;
    margin: 30px 0;
}

.btn-primary-action {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    color: white;
    text-decoration: none;
}

.btn-primary-action:active {
    transform: translateY(0);
}

/* Secondary Actions Container */
.secondary-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
  flex-wrap: wrap;
}

.btn-secondary-action,
.btn-contact-action {
    color: #17a2b8;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid #17a2b8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
cursor: pointer;
    background: transparent;
    min-width: 140px;
}

.btn-secondary-action:hover,
.btn-contact-action:hover {
    background-color: #17a2b8;
    color: white;
    transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
    text-decoration: none;
}

.btn-secondary-action:active,
.btn-contact-action:active {
 transform: translateY(0);
}

/* Footer Info */
.error-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.error-footer small {
    color: var(--muted-text);
}

/* Info Box */
.info-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

.info-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
  gap: 10px;
}

.info-header i {
    font-size: 1.3rem;
}

.info-body {
    padding: 25px;
}

.info-body ul {
    list-style: none;
  padding: 0;
}

.info-body li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--light-text);
    line-height: 1.6;
}

.info-body li:before {
    content: "?";
 position: absolute;
    left: 0;
    color: #20c997;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
  50% {
        box-shadow: 0 0 0 20px rgba(220, 53, 69, 0), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-card {
        padding: 30px 20px;
 }

    .error-title {
    font-size: 2rem;
  }

    .error-subtitle {
        font-size: 1rem;
    }

    .error-description {
  text-align: center;
    }

    .error-description p {
        justify-content: center;
    }

.secondary-actions {
    flex-direction: column;
        align-items: stretch;
    }

  .btn-secondary-action,
    .btn-contact-action {
        width: 100%;
        min-width: unset;
    }

    .btn-primary-action {
        width: 100%;
    }

    .error-icon {
        width: 80px;
        height: 80px;
    }

    .error-icon i {
     font-size: 40px;
    }

    .info-body {
     padding: 15px;
    }

    .info-body li {
        padding: 8px 0;
        padding-left: 25px;
 font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .error-card {
        padding: 20px 15px;
    }

 .error-title {
        font-size: 1.75rem;
    }

    .error-subtitle {
        font-size: 0.95rem;
    }

    .btn-secondary-action,
    .btn-contact-action {
        padding: 10px 16px;
font-size: 14px;
    }

    .icon-wrapper {
     margin-bottom: 20px;
    }

    .error-description {
        padding: 15px;
    }

    .error-actions {
    margin: 20px 0;
    }

    .secondary-actions {
        gap: 8px;
    }
}
