/* Container and Forms */
.sm-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: sans-serif;
}

.sm-form-box {
    text-align: center;
}

.sm-form-box input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Dashboard */
.sm-dashboard h2 {
    text-align: center;
    color: #333;
}

.sm-student-info {
    background-color: #eee;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.sm-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.sm-upload-btn, .sm-logout-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* Gallery */
.sm-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sm-gallery-item {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sm-gallery-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.sm-feedback-box {
    margin-top: 10px;
    padding: 10px;
    background-color: #e6f7ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
}
.sm-no-feedback {
    margin-top: 10px;
    color: #777;
    font-style: italic;
}

/* Admin Gallery */
.artwork-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.artwork-item {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.artwork-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.feedback-section textarea {
    width: 100%;
    height: 80px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    box-sizing: border-box;
}

.feedback-status {
    margin-top: 10px;
    font-style: italic;
}