body {
font-family: 'Roboto', sans-serif;
color: #333;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Playfair Display', serif;
font-weight: 700;
}
a {
color: #000;
text-decoration: underline;
}
a:hover {
color: #555;
} .nyt-form-container, .nyt-dashboard {
max-width: 600px;
margin: 40px auto;
padding: 30px;
border: 1px solid #ddd;
background-color: #fff;
}
.nyt-form-container h2, .nyt-dashboard h1, .nyt-dashboard h2 {
text-align: center;
margin-bottom: 20px;
border-bottom: 2px solid #000;
padding-bottom: 10px;
}
.nyt-form-container p, .nyt-dashboard p {
margin-bottom: 15px;
}
.nyt-form-container label, .nyt-dashboard label {
display: block;
margin-bottom: 5px;
font-weight: 700;
}
.nyt-form-container input[type="text"],
.nyt-form-container input[type="email"],
.nyt-form-container input[type="password"],
.nyt-dashboard input[type="text"],
.nyt-dashboard textarea {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
box-sizing: border-box;
}
.nyt-form-container input[type="submit"],
.nyt-dashboard input[type="submit"] {
background-color: #000;
color: #fff;
padding: 12px 20px;
border: none;
cursor: pointer;
width: 100%;
font-size: 16px;
text-transform: uppercase;
}
.nyt-form-container input[type="submit"]:hover,
.nyt-dashboard input[type="submit"]:hover {
background-color: #333;
}
.nyt-error {
color: #d9534f;
border: 1px solid #d9534f;
padding: 10px;
margin-bottom: 15px;
}
.nyt-success {
color: #5cb85c;
border: 1px solid #5cb85c;
padding: 10px;
margin-bottom: 15px;
} .nyt-dashboard-section {
margin-bottom: 30px;
padding-bottom: 20px;
border-bottom: 1px solid #eee;
}
.nyt-profile-picture {
margin-bottom: 15px;
}
.nyt-profile-picture img {
border-radius: 50%;
}
.nyt-user-articles-list {
list-style-type: none;
padding: 0;
}
.nyt-user-articles-list li {
padding: 10px 0;
border-bottom: 1px solid #eee;
} .nyt-dashboard-header {
border-bottom: 2px solid #000;
margin-bottom: 0;
padding-bottom: 10px;
}
.nyt-dashboard-header h1 {
text-align: left;
margin-bottom: 0;
border-bottom: none;
padding-bottom: 0;
} .nyt-dashboard-nav {
display: flex;
border-bottom: 1px solid #ddd;
margin-bottom: 20px;
}
.nyt-dashboard-nav-item {
padding: 15px 20px;
cursor: pointer;
text-decoration: none;
color: #555;
font-weight: 700;
border-bottom: 3px solid transparent;
margin-bottom: -1px; transition: all 0.2s ease-in-out;
}
.nyt-dashboard-nav-item:hover {
color: #000;
}
.nyt-dashboard-nav-item.active {
color: #000;
border-bottom-color: #000;
} .nyt-dashboard-pane {
display: none; padding: 10px 0;
}
.nyt-dashboard-pane h2 {
text-align: left;
border-bottom: none;
font-size: 24px;
margin-bottom: 25px;
} .nyt-profile-layout {
display: flex;
gap: 30px;
}
.nyt-profile-picture-column {
flex: 0 0 150px;
}
.nyt-profile-fields-column {
flex: 1;
}
.nyt-profile-picture-column label {
margin-bottom: 13px;
}
.nyt-profile-picture {
width: 150px;
}
.nyt-profile-picture img {
display: block;
width: 100%;
height: auto;
border: 1px solid #ddd;
margin-bottom: 10px;
}
.nyt-form-submit-wrapper {
padding-top: 20px;
border-top: 1px solid #eee;
margin-top: 20px;
} .nyt-articles-table-wrapper {
overflow-x: auto;
}
.nyt-articles-table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}
.nyt-articles-table th,
.nyt-articles-table td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #ddd;
}
.nyt-articles-table thead th {
background-color: #f9f9f9;
font-weight: 700;
text-transform: uppercase;
font-size: 12px;
}
.nyt-articles-table tbody tr:last-child td {
border-bottom: none;
}
.nyt-articles-table .button {
background-color: #333;
color: #fff;
padding: 5px 10px;
text-decoration: none;
font-size: 13px;
border-radius: 3px;
}
.nyt-articles-table .button:hover {
background-color: #000;
} .nyt-status-badge {
padding: 3px 8px;
border-radius: 4px;
font-size: 12px;
font-weight: 700;
color: #fff;
text-transform: capitalize;
}
.status-publish { background-color: #28a745; }
.status-pending { background-color: #ffc107; color: #333; }
.status-draft { background-color: #6c757d; } .nyt-edit-form {
padding: 20px;
background-color: #f9f9f9;
border: 1px solid #ddd;
margin-bottom: 30px;
}
.nyt-edit-form .nyt-cancel-edit {
display: inline-block;
vertical-align: middle;
margin-left: 15px;
color: #d9534f;
text-decoration: underline;
}