/* Dev V1 Plugin Styles */

/* Plugin Admin Styles */
.dev-v1-plugin-wrap {
    margin-top: 20px;
}

.dev-v1-plugin-wrap .nav-tab-wrapper {
    border-bottom: 2px solid #e5e5e5;
    margin-bottom: -2px;
    padding-bottom: 5px;
}

.dev-v1-plugin-wrap .nav-tab {
    padding: 10px 15px;
    text-decoration: none;
    display: inline-block;
    border: 1px solid #ccc;
    border-bottom: none;
    margin-right: 2px;
    border-radius: 4px 4px 0 0;
    background: #f1f1f1;
}

.dev-v1-plugin-wrap .nav-tab:hover {
    background: #ddd;
}

.dev-v1-plugin-wrap .nav-tab-active {
    background: #fff;
    border-bottom: 2px solid #fff;
    font-weight: 600;
}

.dev-v1-plugin-wrap .nav-tab-active:hover {
    background: #fff;
}

.dev-v1-plugin-wrap .dev-v1-settings-panel {
    background: #fff;
    border: 1px solid #ccd0d4;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: none;
}

.dev-v1-plugin-wrap .card {
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    margin-bottom: 20px;
}

.dev-v1-plugin-wrap .card-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e5e5;
    padding: 15px;
}

.dev-v1-plugin-wrap .card-body {
    padding: 15px;
}

.dev-v1-plugin-wrap .button-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    box-shadow: none;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border-radius: 2px;
    display: inline-block;
    text-decoration: none;
    font-size: 13px;
    line-height: 2.15384615;
    min-height: 30px;
    padding: 0 12px;
    vertical-align: top;
    white-space: nowrap;
}

.dev-v1-plugin-wrap .button-primary:hover {
    background: #135e96;
    border-color: #135e96;
    color: #fff;
}

/* Plugin frontend styles */
.dev-v1-block {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.dev-v1-block.dev-v1-block--hovered {
    border-color: #2271b1;
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.1);
}

.dev-v1-block.dev-v1-block--hovered .dev-v1-block__inner {
    transform: translateY(-2px);
}

.dev-v1-block__inner {
    transition: transform 0.3s ease;
}

.dev-v1-block h3 {
    color: #1a1a1a;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.dev-v1-block p {
    color: #555d66;
    line-height: 1.6;
    margin-bottom: 15px;
}

.dev-v1-block__content {
    background: #f9fafb;
    padding: 15px;
    border-radius: 4px;
    border-left: 3px solid #2271b1;
}

/* Notification styles */
.dev-v1-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}

.dev-v1-notification.dev-v1-notification--show {
    transform: translateX(0);
    opacity: 1;
}

.dev-v1-notification--success {
    background: #2ab248;
    border-left: 4px solid #1e8732;
}

.dev-v1-notification--error {
    background: #d63638;
    border-left: 4px solid #a92e2e;
}

.dev-v1-notification--info {
    background: #3498db;
    border-left: 4px solid #2c80b5;
}

.dev-v1-success-animation {
    animation: dev-v1-success-pulse 0.6s ease;
}

@keyframes dev-v1-success-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Processing state */
.processing {
    opacity: 0.6;
    pointer-events: none;
}

/* Grid layout */
.dev-v1-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dev-v1-grid-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.dev-v1-grid-item:hover {
    border-color: #2271b1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Stats widget */
.dev-v1-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.dev-v1-stat {
    background: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border-left: 4px solid #2271b1;
}

.dev-v1-stat__value {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.dev-v1-stat__label {
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dev-v1-grid {
        grid-template-columns: 1fr;
    }

    .dev-v1-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .dev-v1-stat__value {
        font-size: 1.5rem;
    }
}

/* Accessibility improvements */
.dev-v1-block:focus-within {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .dev-v1-block {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .dev-v1-notification {
        display: none;
    }
}
