/* Сброс для контейнера плагина – изолируем стили */
.pd-container, .pd-auth-container,
.pd-container *, .pd-auth-container * {
    box-sizing: border-box;
}
.pd-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.pd-sidebar {
    width: 250px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}
.pd-sidebar ul {
    list-style: none;
    padding: 0;
}
.pd-sidebar li {
    margin: 10px 0;
}
.pd-main {
    flex: 1;
}
.pd-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e9ecef;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}
.pd-welcome input {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 250px;
}
.pd-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}
.pd-card {
    background: #0073aa;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
}
.pd-card a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
.pd-row {
    display: flex;
    gap: 30px;
}
.pd-col-70 {
    flex: 70%;
}
.pd-col-30 {
    flex: 30%;
}
.pd-block {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}
.pd-block h3 {
    margin-top: 0;
    border-bottom: 2px solid #0073aa;
    display: inline-block;
    padding-bottom: 5px;
}
.pd-block ul {
    list-style: none;
    padding: 0;
}
.pd-block li {
    margin: 8px 0;
}
.pd-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9em;
}
@media (max-width: 768px) {
    .pd-container { flex-direction: column; }
    .pd-row { flex-direction: column; }
    .pd-welcome { flex-direction: column; align-items: stretch; gap: 10px; }
    .pd-welcome input { width: 100%; }
}

/* ===== Стили для форм авторизации ===== */
.pd-auth-container {
    max-width: 480px;
    margin: 40px auto;
    padding: 0 20px;
}
.pd-auth-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.05);
    padding: 30px;
}
.pd-auth-form h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
    color: #2c3e50;
}
.pd-field {
    margin-bottom: 20px;
}
.pd-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}
.pd-field input[type="text"],
.pd-field input[type="email"],
.pd-field input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.pd-field input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}
.pd-button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}
.pd-button:hover {
    background: #005a87;
}
.pd-links {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}
.pd-links a {
    color: #0073aa;
    text-decoration: none;
}
.pd-links a:hover {
    text-decoration: underline;
}
.pd-error, .pd-success, .pd-notice {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}
.pd-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}
.pd-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}
.pd-notice {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}