/**
 * Modern Documentation Styles
 * Version: 1.0.5
 */

/* Documentation grid is handled in admin.css */

.authyo-otp-docs-section {
    background: #ffffff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.authyo-otp-docs-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.authyo-otp-docs-section h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 600;
    color: #1d2327;
    padding-bottom: 16px;
    border-bottom: 3px solid #2271b1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.authyo-otp-docs-section h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #2271b1, #1e5a8a);
    border-radius: 2px;
}

.authyo-otp-docs-section h3 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    color: #2271b1;
}

.authyo-otp-docs-section p {
    margin-bottom: 16px;
    line-height: 1.7;
    color: #1d2327;
    font-size: 15px;
}

.authyo-otp-docs-section ul,
.authyo-otp-docs-section ol {
    margin: 16px 0;
    padding-left: 24px;
}

.authyo-otp-docs-section li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #1d2327;
}

.authyo-otp-docs-section strong {
    color: #2271b1;
    font-weight: 600;
}

.authyo-otp-docs-shortcode {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.authyo-otp-docs-shortcode:hover {
    background: #f0f6fc;
    border-color: #2271b1;
}

.authyo-otp-docs-shortcode h3 {
    margin-top: 0;
    color: #2271b1;
}

.authyo-otp-docs-shortcode code {
    display: inline-block;
    padding: 10px 16px;
    background: linear-gradient(135deg, #1d2327, #2c3338);
    color: #ffffff;
    border-radius: 6px;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    margin: 12px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.authyo-otp-docs-shortcode code:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.authyo-otp-docs-troubleshooting {
    background: #fcf9e8;
    border-left: 4px solid #dba617;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.authyo-otp-docs-troubleshooting h3 {
    color: #dba617;
    margin-top: 0;
}

.authyo-otp-docs-section a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.authyo-otp-docs-section a:hover {
    color: #135e96;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 782px) {
    .authyo-otp-docs-container {
        padding: 0 12px 20px 12px;
    }

    .authyo-otp-docs-section {
        padding: 20px;
    }

    .authyo-otp-docs-section h2 {
        font-size: 20px;
    }
}
