.team-photo-gallery {
    margin: 20px 0;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}

.photo-item {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.photo-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.photo-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: bold;
}

.photo-select {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
}

.photo-select input {
    margin-right: 8px;
}

.selection-controls {
    margin-top: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 4px;
    text-align: center;
}

.selected-count {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.package-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.package-buttons a {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.package-buttons a:hover {
    background: #005177;
}

/* Selected Photos List */
.selected-photos {
    list-style: none;
    padding: 0;
    margin: 0;
}

.selected-photos li {
    padding: 8px 12px;
    margin-bottom: 8px;
    background: #f0f0f0;
    border-radius: 3px;
    display: inline-block;
    margin-right: 8px;
}

/* Login Form */
.photo-login-register {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: #f7f7f7;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.photo-login-register h3 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.photo-login-register .login-submit {
    text-align: center;
}