
/* Main Dashboard Styles */
.ccp-dashboard {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ccp-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

/* Project Card Styles */
.ccp-project-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ccp-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ccp-project-title {
    background-color: #f8f8f8;
    padding: 15px;
    margin: 0;
    border-bottom: 1px solid #eaeaea;
}

.ccp-project-link {
    color: #333;
    text-decoration: none;
    display: block;
}

.ccp-project-details {
    padding: 15px;
}

.ccp-project-description {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.5;
}

.ccp-project-location {
    font-size: 14px;
    color: #666;
}

.ccp-label {
    font-weight: bold;
    margin-right: 5px;
}

/* Modal Styles */
.ccp-project-details-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.ccp-modal-content {
    background-color: #fff;
    margin: 50px auto;
    padding: 30px;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.ccp-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.ccp-close:hover {
    color: #000;
}

.ccp-project-full-description {
    margin: 20px 0;
    line-height: 1.6;
    color: #444;
}

/* Timeline and Gallery Styles */
.ccp-timeline {
    margin-top: 30px;
}

.ccp-timeline-date {
    margin-bottom: 40px;
    position: relative;
}

.ccp-date-marker {
    background-color: #f0f0f0;
    padding: 10px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
}

.ccp-date-marker:after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #ddd;
    top: 100%;
    bottom: -15px;
    left: 50%;
    margin-left: -1px;
}

.ccp-date {
    font-weight: bold;
    color: #333;
}

.ccp-images-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.ccp-image-item {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ccp-image-item:hover {
    transform: scale(1.03);
}

.ccp-image-link {
    display: block;
}

.ccp-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

.ccp-image-title {
    padding: 10px;
    background-color: #f8f8f8;
    font-size: 14px;
    text-align: center;
    color: #444;
}

/* Login Form */
.ccp-login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.ccp-login-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.ccp-login-form p {
    text-align: center;
    margin-bottom: 25px;
    color: #555;
}

.ccp-login-form form {
    margin-top: 15px;
}

.ccp-login-form .input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ccp-login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.ccp-login-form .button-primary {
    width: 100%;
    padding: 10px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.ccp-login-form .button-primary:hover {
    background-color: #005d8a;
}

.ccp-notice {
    padding: 15px;
    background-color: #f8f8f8;
    border-left: 4px solid #0073aa;
    margin-bottom: 20px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .ccp-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .ccp-modal-content {
        margin: 20px auto;
        padding: 20px;
        width: 95%;
    }
    
    .ccp-images-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}
