/* для не зарегистрированных пользователей */
.judge-email-box{
    max-width:700px;
    margin:40px auto;
    padding:30px;
    background:#fff;
    border-radius:12px;
    border:1px solid #e4e7ec;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.judge-email-title{
    font-size:24px;
    font-weight:700;
    color:#1f2937;
    margin-bottom:20px;
}

.judge-email-title i{
    color:#2563eb;
    margin-right:10px;
}

.judge-email-text{
    color:#6b7280;
    line-height:1.7;
    margin-bottom:25px;
}

.judge-email-box .judge-row{
    margin-bottom:20px;
}

.judge-email-box input[type=email]{
    width:100%;
    padding:14px 16px;
    font-size:16px;
    border:1px solid #d1d5db;
    border-radius:8px;
    transition:.2s;
    box-sizing:border-box;
}

.judge-email-box input[type=email]:focus{
    border-color:#2563eb;
    outline:none;
    box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

.judge-email-box .judge-button{
    width:100%;
    justify-content:center;
}
/* для не зарегистрированных пользователей */



/* Общий контейнер */

.judge-input{
    width:100%;
    padding:10px 12px;
    border:1px solid #dcdcdc;
    border-radius:6px;
    font-size:14px;
    box-sizing:border-box;
}

.judge-page,
.judge-admin {
    max-width: 1000px;
    margin: 30px auto;
}


/* Заголовки */

.judge-page h2,
.judge-admin h2 {
    margin-bottom: 25px;
    font-size: 28px;
}


/* Карточка */

.judge-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}



/* Форма */

.judge-row {
    margin-bottom: 18px;
}


.judge-row label {

    display:block;

    margin-bottom:7px;

    font-weight:600;

}



.judge-row input,
.judge-row textarea,
.judge-textarea {

    width:100%;

    max-width:600px;

    padding:10px 12px;

    border:1px solid #ddd;

    border-radius:8px;

    font-size:15px;

    box-sizing:border-box;

}



.judge-row input:focus,
.judge-textarea:focus {

    outline:none;

    border-color:#3b82f6;

}





/* Кнопки */


.judge-button {

    display:inline-block;

    padding:12px 25px;

    border:none;

    border-radius:8px;

    background:#2563eb;

    color:white;

    cursor:pointer;

    font-size:15px;

    margin-right:10px;

}



.judge-button:hover {

    opacity:.85;

}



.judge-button.danger {

    background:#dc2626;

}



/* Сообщения */


.judge-success {

    background:#dcfce7;

    border:1px solid #22c55e;

    color:#166534;

    padding:20px;

    border-radius:10px;

    margin-bottom:20px;

}



.judge-warning {

    background:#fee2e2;

    border:1px solid #ef4444;

    color:#991b1b;

    padding:20px;

    border-radius:10px;

    margin-bottom:20px;

}



.judge-info {

    background:#fef3c7;

    border:1px solid #f59e0b;

    color:#92400e;

    padding:20px;

    border-radius:10px;

    margin-bottom:20px;

}





/* Фото */


.judge-photo {

    max-width:250px;

    max-height:250px;

    object-fit:cover;

    border-radius:10px;

    margin-top:10px;

}


/* Таблицы */


.judge-table {

    width:100%;

    border-collapse:collapse;

    margin-top:20px;

    background:white;

}



.judge-table th {

    background:#f3f4f6;

    font-weight:600;

}



.judge-table td,
.judge-table th {

    padding:12px;

    border:1px solid #e5e7eb;

    text-align:left;

}



.judge-table tr:hover {

    background:#f9fafb;

}





/* Админские кнопки */


.judge-buttons {

    margin-top:25px;

}




/* Ссылки */


.judge-card a,
.judge-admin a {

    color:#2563eb;

    text-decoration:none;

}



.judge-card a:hover,
.judge-admin a:hover {

    text-decoration:underline;

}




/* Адаптив */

@media(max-width:700px){


    .judge-page,
    .judge-admin {

        margin:15px;

    }


    .judge-table {

        font-size:14px;

    }


    .judge-button {

        width:100%;

        margin-bottom:10px;

    }

}