:root{
    --primary: #9457EB;  /* Lavender Indigo (Primary) */
    --secondary: #57AEEB; /* Picton Blue */
    --tertiary: #5764EB; /* Ultramarine Blue */
    --accent: #DE57EB;  /* Magenta (Web) */
    --highlight: #EB57AE; /* Neon Fuchsia */
}

.translate-md-x {
    transform: translateY(-50px);
    transition: transform 0.3s ease-in-out; /* Optional: Add a smooth transition effect */
}

/* Dashboard Styles */
.dashboard-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.survey-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-active {
    background-color: var(--bs-success);
}

.status-draft {
    background-color: var(--bs-warning);
}

.status-completed {
    background-color: var(--bs-info);
}

.status-archived {
    background-color: var(--bs-secondary);
}

/* Quick Action Buttons */
.quick-action {
    transition: all 0.2s ease-in-out;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
}

.quick-action:hover {
    background-color: var(--bs-primary-bg-subtle);
}

.quick-action i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Analytics Cards */
.analytics-card {
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
}

.analytics-card h4 {
    color: var(--bs-primary);
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.analytics-card small {
    color: var(--bs-secondary-color);
}

/* Recent Activity */
.activity-item {
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    background-color: var(--bs-tertiary-bg);
}

.activity-item:hover {
    background-color: var(--bs-tertiary-bg-subtle);
}

.activity-item .activity-time {
    font-size: 0.875rem;
    color: var(--bs-secondary-color);
}

/* Survey Templates */
.template-card {
    height: 100%;
    transition: transform 0.2s ease-in-out;
}

.template-card:hover {
    transform: translateY(-2px);
}

/* Subscription Progress */
.subscription-progress {
    height: 8px;
    border-radius: 4px;
}

.subscription-progress .progress-bar {
    background-color: var(--primary);
}

/* Custom Scrollbar */
.custom-scrollbar {
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--bs-primary) transparent;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--bs-primary);
    border-radius: 3px;
}

/* Survey Actions */
.survey-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.survey-actions .btn i {
    margin-right: 0.25rem;
}

/* Dropzone styles */
.dropzone-container {
    margin: 1rem 0;
}

.dropzone {
    border: 2px dashed #0087F7;
    border-radius: 5px;
    background: white;
    min-height: 150px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropzone:hover,
.dropzone.dz-drag-hover {
    background: #f8f9fa;
    border-style: solid;
}

.dropzone .dz-message {
    text-align: center;
    margin: 2em 0;
}

.dropzone .dz-message span {
    display: block;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 1em;
}

.dropzone .dz-preview {
    margin: 1rem;
}

.dropzone .dz-preview .dz-image {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.dropzone .dz-preview .dz-details {
    padding: 1rem 0;
}

.dropzone .dz-preview .dz-progress {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    position: relative;
    margin: 0.5rem 0;
}

.dropzone .dz-preview .dz-progress .dz-upload {
    background: #0087F7;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    transition: width 0.3s ease;
}

.dropzone .dz-preview .dz-success-mark,
.dropzone .dz-preview .dz-error-mark {
    text-align: center;
    font-size: 1.2em;
    line-height: 1;
    padding: 0.5rem;
}

.dropzone .dz-preview .dz-success-mark {
    color: #28a745;
}

.dropzone .dz-preview .dz-error-mark {
    color: #dc3545;
}

.dropzone .dz-preview .dz-error-message {
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 0.5rem;
    text-align: center;
}

.upload-container {
    margin: 1em 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .quick-action {
        padding: 1rem;
    }
    
    .quick-action i {
        font-size: 1.5rem;
    }
    
    .analytics-card {
        margin-bottom: 1rem;
    }
}
